<%@page import="org.jeecgframework.web.util.StaticValue"%>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>评价详情</title>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
</head>
<body>
	<div class="subtitle" >
		<p>评价详情</p>
	</div>
	<div class="datagridDiv" style="height: 400px;width: 1100px;">
		<t:datagrid name="ieDetialOfIeRport" checkbox="false" fitColumns="false" 
			actionUrl="cbsInspectionEvaluateController.do?datagridOfIeDetialOfIeReport&id=${id }&${params }" idField="id" fit="false" queryMode="group" pagination="false">
			<t:dgCol title="主键"			field="id"	hidden="true"	width="120"  sortable="false"/>
			<t:dgCol title="服务单主键"		field="ipId"	hidden="true" width="90" sortable="false" />
			<t:dgCol title="服务单ID"		field="planId"	width="90" sortable="false" />
			<t:dgCol title="总分"			field="lastEvaluate"	width="50" sortable="false"/>
		   	<t:dgCol title="服务态度"		field="serviceEvaluate"	width="70" sortable="false"/>
			<t:dgCol title="沟通顺畅"		field="talkEvaluate"	width="70" sortable="false"/>
		   	<t:dgCol title="巡检效果"		field="effectEvaluate"	width="70" sortable="false"/>
			<t:dgCol title="培训效果"		field="trainEvaluate"	width="70" sortable="false"/>
			<t:dgCol title="技能"			field="skillEvaluate"	width="70" sortable="false"/>
			<t:dgCol title="评价人"			field="evaluateName"	width="70" sortable="false"/>
			<t:dgCol title="评价时间"		field="evaluateTime"	width="80" sortable="false" formatter="yyyy-MM-dd"/>
			<t:dgCol title="评语"			field="option"	width="210" sortable="false" />
			<t:dgCol title="工程师ID"		field="egId"	hidden="true" width="70" sortable="false"/>
			<t:dgCol title="工程师"			field="egName"	width="70" sortable="false" url="cbsInspectionEvaluateController.do?goViewIeEgDetial&egId={egId}" funname="goViewIeEgDetial"/>
			<t:dgCol title="操作" field="opt" width="100"></t:dgCol>
			<t:dgFunOpt funname="viewReport(ipId)" title="查看报告" ></t:dgFunOpt>
	   </t:datagrid>
	</div>
</body>
<script type="text/javascript">
function goViewIeEgDetial(columName, url){
    createdetailwindow('工程师评价详细', url + '&${params }',900,260);
}
function viewReport(ipId){
	addOneTab('查看巡检报告',"zyInspectionReportController.do?goViewOrUpateIr&zyIpId="+ ipId +"&operationType=view");
	frameElement.api.close();
}

</script>
